package com.ocom.webapi.service;

import com.ocom.common.constant.WebApiServiceUrl;
import com.ocom.common.resp.Result;
import lombok.Data;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;


public interface SmsService {

    /**
     * 短信验证码（/smsCode）
     */
    public Result SmsCode(String phone);

    /**
     * 登录后获取单位范围(/companyGroup)
     * */
    public Result CompanyGroup(Map map);

    /**
     * 验证短信 (/checkSmsCode)
     * */
    @PostMapping(WebApiServiceUrl.URL_checkSmsCode)
    public Result checkSmsCode(Map map);
}
